<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
 <%
 String classPath = request.getContextPath();
 
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<form action="${classPath }/s3h3/hello.do?method=userModel" method="post">
		姓名：<input name="name" type="text" > <br>
		性别：<input type="radio" name="sex" value='男'>男&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="sex" value='女'>女<br>
		年龄：<input name="age" type="text" > <br>
		地址：<input name="addr" type="text" > <br>
		学分：<input name="score" type="text" > <br>
		状况：<input name="level" type="text" > <br>
		
		<input type="submit" value="提交">
		
		
		
		<br>
		
	</form>
	
	<c:if test="${not empty student }">
	输入的学生信息：<br>
		姓名：${student.name } <br>
		性别：${student.sex }<br>
		年龄：${student.age } <br>
		地址：${student.addr }<br>
		学分：${student.score }<br>
		状况：${student.level } <br>
	</c:if>
</body>
</html>